" Vundle setup.
filetype off
set rtp+=~/.config/nvim/Vundle.vim
call vundle#begin('~/.config/nvim')

Plugin 'VundleVim/Vundle.vim'

Plugin 'chriskempson/base16-vim'

Plugin 'pangloss/vim-javascript'
Plugin 'elzr/vim-json'

Plugin 'rust-lang/rust.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-commentary'
Plugin 'tpope/vim-speeddating'

"Plugin 'w0rp/ale'
Plugin 'ycm-core/YouCompleteMe'

call vundle#end()
filetype plugin indent on

"set clipboard+=autoselect
set clipboard+=unnamed

set background=dark

" Enable base16 swatch-based colour theme.
set termguicolors
"colorscheme base16-black-metal-bathory
"colorscheme base16-atelier-savanna
"colorscheme base16-3024
"colorscheme base16-twilight
"colorscheme base16-eighties
"colorscheme base16-mocha
"colorscheme base16-nord
colorscheme base16-ia-dark

set ruler
set expandtab
set shiftwidth=2

" YouCompleteMe config
:noremap <C-_> :YcmCompleter GoTo<CR>
"
"let g:ycm_rust_src_path = '/Users/giles/rust/src'
"let g:ycm_extra_conf_globlist = ['~/firefox/*']
let g:ycm_extra_conf_globlist = ['~/brave-browser/*', '~/firefox/*']
